package com.cloud.boot.user.service;

import com.cloud.boot.user.model.vo.RoleRefListVO;

import java.util.List;
import java.util.Set;

/**
 * @author lhd
 */
public interface SysUserRoleService {

    List<Long> getRoleIdListByUserId(Long userId);

    List<RoleRefListVO> getRoleListByUserId(Long userId);

    Long countUserByRoleId(Long roleId);

    void saveUserRole(Long userId, Set<Long> roleIdSet);
}
